package logic

import (
	"context"

	"jdshop-pro/assrpc/assrpc"
	"jdshop-pro/assrpc/internal/svc"

	"github.com/zeromicro/go-zero/core/logx"
)

type LonginLogic struct {
	ctx    context.Context
	svcCtx *svc.ServiceContext
	logx.Logger
}

func NewLonginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LonginLogic {
	return &LonginLogic{
		ctx:    ctx,
		svcCtx: svcCtx,
		Logger: logx.WithContext(ctx),
	}
}

func (l *LonginLogic) Longin(in *assrpc.LonginRequest) (*assrpc.LonginResponse, error) {
	// todo: add your logic here and delete this line

	return &assrpc.LonginResponse{}, nil
}
